<?php 
	$arrayNew = $infoModel->getNewItems(NEWS_ID);
	$arrayProject = $infoModel->getNewItems(PROJECT_ID);
?>
<div class="widget_background"> 
	<table style="font-size:11.33px;">
		<tr valign="top">
			<td>							
			<h3><img alt="" src="img/house.png" /> Tin tức Nhà đất mới nhất</h3>
			<ul class="items" id="iconList">
				<?php while ($row = $infoModel->getArrayNameInfos($arrayNew)){ ?>
				<li class="btnLabel_s">
					<a class="url" href="itemdetail.php?itemdetailid=<?php echo $row['id'] ?>" class="latestnews"><?php echo $row['title'];?></a> - Ngày đăng: <?php echo ConvertSQLDate($row['updateDate']); ?>
				</li>
				<?php } ?>
			</ul>
			</td>
			<td>
			<h3><img alt="" src="img/building.png" /> Tin tức Dự án mới nhất</h3>
			<ul>
				<?php while ($row = $infoModel->getArrayNameInfos($arrayProject)){ ?>
				<li class="btnLabel_s">
					<a class="url" href="itemdetail.php?itemdetailid=<?php echo $row['id'] ?>" class="latestnews"><?php echo $row['title'];?></a> - Ngày đăng: <?php echo ConvertSQLDate($row['updateDate']); ?>
				</li>
				<?php } ?>
			</ul>
			</div>
			</td>
		</tr>
	</table>
</div>
<?php
echo '<br />';
include('_hightlightproject.php');
?>